package com.kun.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

import java.io.Serializable;

/**
 * @author kun.li
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(indexName = "jd_search", createIndex = true)
public class JdContent implements Serializable {

    @Id
    private String id;

    // 图片
    private String img;
    // 价格
    private String price;
    // 名称
    private String name;
    // 出版社
    private String shop;


}
